package auth

import (
	"gitee.com/alex_li/zangjingge/internal/midware"
	"github.com/lishimeng/app-starter/server"
)

func Router(root server.Router) {
	root.Post("/login", passwordLogin)
	root.Get("/getUserInfo", midware.WithAuth(getUserInfo)...)
}
